<?php

use yii\db\Schema;
use yii\db\Migration;

class m150722_145439_retarget_site_add extends Migration
{
    public function up()
    {
    	$this->addColumn('{{%retarget_site}}', 'advertiser_id', "int(10) unsigned NOT NULL DEFAULT '0' COMMENT '广告主id' after tag");
    }

    public function down()
    {
        $this->dropColumn('{{%retarget_site}}', 'advertiser_id');
        return true;
    }
}
